package sany.iec.service;

import org.springframework.stereotype.Service;
import sany.iec.entity.ServerEntity;

/**
 * @Author : 托马斯
 * @Date : 2025/9/19 15:23
 * @Description :
 */
@Service
public interface UpdateDataService {

    /**
     * 更新modbus的数据
     */
    String updateModbusData(ServerEntity server, String key, Float value) throws InterruptedException;

    /**
     * 更新iec104的数据
     */
    String updateIEC104Data(ServerEntity server, String key, Float value);

}
